package com.homer.iot.esptouch.model;

import com.homer.iot.esptouch.tcp.UartTCPUtil;

public class ColorLamp extends Slaver{
	public ColorLamp(String id, String type) {
		super(id, type);		
	}
	
	public  boolean controlColorLamp(byte R,byte G,byte B,byte whiteLight){
		return UartTCPUtil.controlColorLamp(device.getDeviceIP(), R,G,B,whiteLight);
	}
}

